<?php  # Script -- explode.php

/* Author @ Huoty
 *   Date @ 2015-03-10 10:02:29
 *  Brief @ 
 */

$source = "hello1,hello2,hello3,hello4,hello5";//按逗号分离字符串
$hello = explode(',',$source);
/*
for($index=0;$index<count($hello);$index++)
{
echo $hello[$index];echo "</br>";
}*/
echo $hello[1]; echo "</br>";
echo $hello[2]; echo "</br>";

?>
